<!--个人信息修改-->
<?php include('header.php');
	if($_GET['state']=='ok'){
	echo '<script>alert("成功修改手机号！");</script>';
	}
	?>
<div id="mainbody"  >
<div class="col-lg-9" id="charge">
    <div class="panel panel-primary">
   <div class="panel-heading">
      <h3 class="panel-title">修改密码</h3>
   </div>
   <div class="panel-body">
   <!--修改个人信息表单here!!-->
   <form class="cellphonechange" action="../control/selfinformation.php" method="post">
	
    <input type="text" id="usercode" name="usercode" style="display: none;" value=<?php echo $_SESSION["usercode"];?> >
   <label id="cellphone">新手机号码:</label><input type="text" id="phonenumtext1" name="phonenumtext" style="height: 30px" value="请输入新手机号码">
  <input type="submit" name="submit" id="submit" value="提交">
   </form>
   <!--javascript代码here！！！-->
   <script type="text/javascript">
    var t = document.getElementById('phonenumtext1');
    t.onfocus = function(){
        if(this.value== '请输入新手机号码'){this.value =''}
    };
     
    t.onblur = function(){
        if(this.value ==''){
            this.value = '请输入新手机号码'
        }
    };
    t.onchange = function(){
		if(this.value.length != 11 )
			alert("手机号码位数有误，请检查后重新输入！");
    }
</script>
  </div>
   &nbsp;
   <div>  
  </div>
</div>

<?php include('foot.php') ?>